Ext.define('AmpleHarvest.objects.harvestrequest.view.window.deactivation.Window', 
{
    extend: 'Ext.window.Window',
    requires: 
    [
      "AmpleHarvest.objects.harvestrequest.view.window.deactivation.Form"
   ],
   uses:
    [
      //'DarkOwl.User_Manager.Windows.Setup.cCreateDB',
   ],
   layout :'fit',
   minimizable : false,
   maximizable : false,
   closable:false,
   iconCls:"harvestRequest",
   width:600,
   shim : false,
   animCollapse : false,
   title:"Harvest Deactivation Request",
   constrainHeader : true,
   modal:true,
         
   initComponent: function () 
    {
      this.m_str_UserName = obj_config.user.userName; //"<?php print($obj_UserValidation->get_UserName()) ?>";
      this.m_obj_Form = Ext.create("AmpleHarvest.objects.harvestrequest.view.window.deactivation.Form");
      this.callParent();
      
      this.add(this.m_obj_Form);
      
    },
    
    set_RequestID:function(str_ID)
    {
      this.m_obj_Form.set_RequestID(str_ID);
    }
});

